当前位置:网站首页>【Error】TypeError: expected str, bytes or os. PathLike object, not int
【Error】TypeError: expected str, bytes or os. PathLike object, not int
2022-07-23 23:17:00 【zoetu】
1 Problem description
In the installation tensorflow Time of library package , Meet and os Module related errors :TypeError: expected str, bytes or os.PathLike object, not int

2 The reason for the error
pip Problems caused by version , One environment is py2.7, In order to be able to use pip Revised and reduced the version , Cause now pip Out of commission .
3 Temporary solution
No caching
pip install package_name --no-cache-dir
4 Permanent solution
to update pip
pip install --upgrade pip --no-cache-dir
pip install package_name
Reference material
https://blog.csdn.net/weixin_41010198/article/details/117228472
边栏推荐
- After reading this article, thoroughly understand grpc!
- Crazy God redis notes 10
- TAP 系列文章7 | 易于管理的流水线配置
- Mongodb - Introduction to the usage of logical operators not, and, or, nor in query statements
- 接口测试
- Programming in the novel [serial 18] the moon bends in the yuan universe
- 砺夏行动|源启数字化:既有模式,还是开源创新?
- ES6箭頭函數的使用
- Grey prediction (matlab)
- Leetcode: palindrome number
猜你喜欢

Sword finger offer II 115. reconstruction sequence

Diabetes genetic risk testing challenge advanced

TAP 系列文章9 | 应用开发加速器

糖尿病遗传风险检测挑战赛进阶

How to reasonably estimate the size of thread pool

At the forefront of the times, Huawei aims at the wind and sea of digital finance

anchor free yolov1

Preparation for raspberry pie 3B serial port login

strncat() strncmp()
![[leetcode ladder] the penultimate node in the 022 linked list](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[leetcode ladder] the penultimate node in the 022 linked list
随机推荐
Mongodb - Introduction to the use of $exists and the combination of $ne, $nin, $nor, $not in query statements
在openEuler社区开源的Embedded SIG,来聊聊它的多 OS 混合部署框架
Notes on network segment CIDR
TAP 系列文章8 | TAP 学习中心——通过动手教程来学习
AutoCAD advanced operation
torchvision.datasets.ImageFolder前的数据整理及使用方法
The canfd/can interface offline burning operation instructions of h7-tool have been updated (2022-07-12)
Grey prediction (matlab)
Basic operations of AutoCAD
Programming in the novel [serial 20] the moon bends in the yuan universe
As a developer, you have to know the three performance testing tools JMeter, API and jmh user guide
TAP 系列文章9 | 应用开发加速器
Raspberry pie SSH login
激光雷达点云数据录制的rosbag文件转换成csv文件
1、 Simplification of digital logic
Relevant interfaces of [asp.net core] option mode
None and Nan, Nan, Nan
strncat() strncmp()
[leetcode ladder] the penultimate node in the 022 linked list
ES6箭头函数的使用